home *** CD-ROM | disk | FTP | other *** search
/ FutureMusic 138 / Future Music Magazine FM138 August 2003 Free Soft Synch NI Carbon.iso / pc / resources / kontaktpp.swf / scripts / DefineButton2_68 / BUTTONCONDACTION on(release, releaseOutside).as < prev    next >
Text File  |  2002-10-01  |  517b  |  21 lines

  1. on(release, releaseOutside){
  2.    if(playall == 0)
  3.    {
  4.       all.gotoAndStop("on");
  5.       playall = 1;
  6.       if(playinga == 0 && playingb == 0)
  7.       {
  8.          loadVariablesNum("http://www.native-instruments.de/index.php?id=flashcount&idnum=" + _root.idnum + "&src=" + _root.src,0,"POST");
  9.          playinga = 1;
  10.          original.gotoAndStop("on");
  11.          playtrack("a");
  12.          currTrack = presetTally + "a";
  13.       }
  14.    }
  15.    else
  16.    {
  17.       all.gotoAndStop("off");
  18.       playall = 0;
  19.    }
  20. }
  21.